<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1" />
</head>
<body>
	<div ng-controller="BuscarEmpleadoCtrl" class="modal fade" id="buscarEmpleado" tabindex="-1" role="dialog" aria-labelledby="deletionModalLabelId" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-hidden="true">&times;</button>
					<h4 class="modal-title" id="deletionModalLabelId">Buscar Empleado</h4>
				</div>
				<div class="modal-body">
					<div class="table-responsive">
                         <table class="table table-striped table-bordered table-hover table-condensed">
                             <tr>
                                 <td width="25%" style="width: 25%"><label for="descripcionCorta">Nombre</label></td>
                                 <td><span><input type="text" ng-model="empleado.nombre"/></span></td>
                                 <td width="25%" style="width: 25%">
                                 	<button type="button" class="btn btn-primary" id="btnBuscar" ng-click="obtenetEmpledaosPorNombre()" ><i class="fa fa-search" style="margin-right:8px; font-size:14px;"></i>Buscar</button>
                                 </td>
                             </tr>
                         </table>
                     </div>
				
					<table class="table table-striped table-bordered table-hover table-condensed">
						<thead>
							<tr>
								<th><span>Nombre Completo</span></th>
								<th><span>Cantidad Asignaciones</span></th>
								<th><span></span></th>
							</tr>
						</thead>
						<tbody>
                                <tr ng-repeat="empleado in empleados">
                                    <td>{{empleado.codigo}}</td>
                                    <td>{{empleado.nombre}}</td>
                                    <td><span><button type="button" class="btn btn-primary" id="btnBuscar" ng-click="cargarSolicitud()"><i class="fa fa-search" style="margin-right:8px; font-size:14px;"></i>Buscar</button></span></td>
                                </tr>
                                <tr>
                                    <td>:D:D:D:D:D:D::D:</td>
                                    <td>:D:D:D:D:D:D::D:</td>
                                    <td align="center" >
                                    	<span><button type="button" class="btn btn-primary" id="btnBuscar" ng-click="cargarSolicitud()">Seleccionar</button></span>
									</td>
                                </tr>
                            </tbody>
					</table>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
				</div>
			</div>
		</div>
	</div>

</body>
</html>